from sqlalchemy import Column, Integer, VARCHAR, ForeignKey
from models.base_class import Base, gen_uuid


class Game(Base):
    """
    游戏表
    """
    __tablename__ = 'games'
    name = Column(VARCHAR(255), nullable=False)
    description = Column(VARCHAR(255), nullable=False)
    __table_args__ = {
        'comment': '游戏表',
        'extend_existing': True   # 扩展已存在的表
    }
